<style type="text/css">
    #content li {
        color: #848484;
    }
</style>

<!--EXCURSIONS ONLINE BOOKING-->
<div id="e321">
    <div class="excursions">

        <h1 class="franklin_gothic_metium_cond">Online Booking :: Excursions</h1>

        <br />


        <div class="box" style="background: none; box-shadow: none; height: 88px; margin-right: 23px; padding: 8px; text-align: center; width: 222px; border: 0;">
            <img alt="IT" src="<?=base_url()?>assets/img/logo-small.png" style="margin-top: 8px;">
        </div>

        <div class="exc" style="width: 580px;">
            <div id="total_t">
                <div style="font-weight: normal; line-height: 30px;" class="excbookingSection">
                    Booking number: <b><?php echo $booking->eb_newid;?></b>.
                </div>
                <h2>Booking is accepted</h2>


                <table width="100%" cellspacing="0" cellpadding="0" class="excbookingTable">
                    <thead>
                        <tr>
                            <td style="font-weight: bold;">Title</td>
                            <td style="font-weight: bold;">Description</td>
                            <td style="text-align: center; font-weight: bold;">Price</td>
                            <td style="text-align: center; font-weight: bold;">Sub total</td>
                        </tr>
                    </thead>
                    <tbody id="tablebody">
                        <tr>
                            <td>
                                Excursions
                            </td>
                            <td colspan="3">
                                Excursions title
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Start day
                            </td>
                            <td colspan="3">
                                <?php echo date('d.m.Y', $booking->eb_date_from); ?>
                            </td>

                        </tr>
                        <tr>
                            <td>
                                Addition
                            </td>
                            <td colspan="3">
                                <?php echo $booking->exc_addition; ?>
                            </td>

                        </tr>
                        <tr>
                            <td>
                                Traveler (Adult)
                            </td>
                            <td>
                                <?php echo $booking->eb_noadult; ?>     
                            </td>
                            <td style="text-align: center;">&euro;<?php echo $booking->eb_adultprice;  ?></td>
                            <td style="text-align: center;">&euro;<?php echo $booking->eb_adultprice_sub;  ?>.00</td>
                        </tr>
                        <tr>
                            <td>
                                Traveler (Child)
                            </td>
                            <td>
                                <?php echo $booking->eb_noch; ?>  
                            </td>
                            <td style="text-align: center;">&euro;<?php echo $booking->eb_chprice;  ?></td>
                            <td style="text-align: center;">&euro;<?php echo $booking->eb_chprice_sub;  ?>.00</td>

                        </tr>        
                        <tr>
                            <td>
                                Rransportation type
                            </td>
                            <td colspan="3">
                                <?

                                    /*$tra_title = str_replace('Bus', $langs['transports'][0], $tra_title);
                                    $tra_title = str_replace('Boat', $langs['transports'][1], $tra_title);
                                    $tra_title = str_replace('Jeep', $langs['transports'][2], $tra_title);
                                    $tra_title = str_replace('Bus + Boat', $langs['transports'][3], $tra_title);
                                    $tra_title = str_replace('Bus + Jeep', $langs['transports'][4], $tra_title);
                                    $tra_title = str_replace('Bus + Canoe', $langs['transports'][5], $tra_title);*/

                                    echo $booking->tra_title;

                                ?>
                            </td>

                        </tr>
                        <tr>
                            <td colspan="2" style="border-bottom: none">
                                <?if($booking->eb_status==0){?>
                                    Booking is valid only if you pay by credit card
                                    <?}else echo '&nbsp;'?>
                            </td>
                            <td style="text-align: center;"><b>Total:</b></td>
                            <td style="text-align: center;"><b>&euro;<?php echo $booking->eb_totalprice;  ?></b></td>
                        </tr>
                    </tbody>
                </table>

                <? 
                    $sys_url = "http://www.informacionisistem.com/payservice/";
                    $booking_id = $booking->eb_newid;
                ?>



                <?if($booking->eb_status==0){?>
                    <!--PAY BY CREDIT CARD-->
                    <div style="float: right; margin: 20px 0 0 0">
                        <div class="atlas_btn" style="margin-right:0;">
                            <a href="<?=$sys_url?>service/pay/<?=$booking->eb_newid?>/excursion/<?=$local_lang?>" id="pay_by_credit_card" style="padding: 7px 6px 7px 0;">Pay by Credit Card</a>
                        </div>
                        <br class="clearing" /> 
                    </div>
                    
                    <div style="float: left; margin: 20px 0 0 0">
                 <img src="<?=$url?>assets/img/credit_cards.png" alt="Credit Cards">                
            </div>
                    
                    <br class="clearing" />

                    <?}?>



            </div>
            <br class="clearing" />
        </div>

        <br class="clearing" />

    </div>
</div>

<script type="text/javascript">

    $('#pay_by_credit_card').live('click',function(){ 

            alert('This is demo version!\r\nThank you.');
            return false;

    })

</script>